import { Component, OnInit } from '@angular/core';

declare var form: any;

@Component({
  templateUrl: './entrust.component.html'
})
export class EntrustComponent implements OnInit {

  fs: any = null;

  constructor() {
    this.fs = new form.FormSimpleService('roleentrust', {
      orderObject: { id: 0 },
      keyField: 'id',
      randomFields: ['id']
    });
    this.fs.loadData(true);
  }

  ngOnInit() {
  }
}
